package com.jlpay.open.jlpay.sdk.java.model.ledger.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.jlpay.open.jlpay.sdk.java.model.ledger.LedgerBaseRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 *
 * @author dengwenning
 * @since 2024/8/30
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class BalanceQueryRequest extends LedgerBaseRequest {

    /**
     * 商户号
     * 嘉联分配的商户号，
     * 示例值：849440358120001
     */
    private String mchId;

    /**
     * 账号类型
     * 01：分账出账户
     * 02：分账入账户
     */
    private String accountType;

    @Override
    public String path() {
        return "/open/ledger/balance/query";
    }

}
